﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageMyLinks.aspx.cs" Inherits="MyLinksMenu.Layouts.ManageMyLinks,$SharePoint.Project.AssemblyFullName$"  MasterPageFile="~/_layouts/dialog.master"  %>
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.Portal" %>
<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
	<style type="text/css">
		#CancelButton
		{
			/** Hide the cancel button since it won't actually cancel changes. **/
			display: none;
		}
	</style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderDialogHeaderSection" runat="server">
	<tr id="headingRow" class="" style="">
	</tr>
	<tr>
		<td id="headingDivider">
		 </td>
	</tr>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderDialogBodyMainSection" runat="server">
	<SPSWC:PageLevelError runat="server" id="PageLevelError1" />
	<Sharepoint:FormDigest runat="server" id="FormDigest" />
	<SPSWC:QuickLinksMacroView FrameType="none" runat="server" ShowItemMenu="false" />

	<script type="text/javascript">
		//Override ShowNewQuicklinkPopup to change the base URL of the popup dialogs. 
		var baseShowNewQuicklinkPopup = ShowNewQuicklinkPopup;
		ShowNewQuicklinkPopup = function (url, onClose) {
			baseShowNewQuicklinkPopup('<%=WebUrl%>/_layouts/' + url, onClose);
		}
	</script>
</asp:Content>
